package datacreation;
import guiobjects.Observation;
import java.util.ArrayList;

import commonfunctions.Matrix;


import user.functions.PruningAlgorithm;

/**
 * This is the class that uses the user-created PruningAlgorithm class. Creates a two dimensional array of 
 * booleans where entry (i, j) is true if observation j is the first observation after i corresponding to 
 * an object.
 * 
 * @author Trevor Terris
 *
 */
public class TracksCreator 
{
	
	public static Matrix createData(ArrayList<Observation> observations, Matrix weightGraph, String dirName)
	{
		Matrix copyGraph = new Matrix(weightGraph);
		
		Matrix toWrite = PruningAlgorithm.prune(copyGraph, observations);
        return toWrite;
	}
}
